package com.miaoji.service;

import com.miaoji.domain.dto.PageInfo;
import com.miaoji.domain.po.OrderDetail;
import com.miaoji.domain.po.OrderInfo;
import com.miaoji.domain.vo.OrderVo;

import java.util.List;
import java.util.Map;

public interface OrderService {
    //List<OrderInfo> OrderSelect(int number,OrderInfo order);//查询订单
    List<OrderDetail> OrderDetailSelect(int order_id);
    boolean OrderUpdateState(OrderInfo orderInfo);//修改订单状态
    boolean OrderDeliverDetail(OrderInfo orderInfo);//上传物流
    boolean OrderDelete(OrderInfo orderInfo);//删除已完成订单
    Map<PageInfo,List<OrderVo>> OrderSelectAll(int number, OrderInfo orderinfo);//初始界面
    //返回给前端
    boolean OrderRefund(int order_id);//订单退款
}
